package com.hznu.ez4life.modules.service;

import com.hznu.ez4life.modules.entity.Orders;
import com.baomidou.mybatisplus.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author DragonDoor
 * @since 2019-07-25
 */
public interface OrdersService extends IService<Orders> {

    void addOne(Orders orders);

    List<Orders> findOrderingByNuserId(Integer nuserId);

    List<Orders> findOrderedByNuserId(Integer nuserId);

    List<Orders> findOrderingByHuserId(Integer huserId);

    List<Orders> findOrderedByHuserId(Integer huserId);
    Orders findById(Integer id);
}
